package com.aspire.moss.portal.desktop;

import android.view.View;

public interface MoveIconController {
	/**
	 * 
	 * 初始化移动图标
	 * 
	 * @param longClickView
	 */
	public void initMoveIcon(View longClickView);

	/**
	 * 移动图标
	 * 
	 * @param rawX
	 * @param rawY
	 */
	public void moveIcon(float rawX, float rawY);

	/**
	 * 删除移动图标后,移动应用
	 * @param pointX
	 * @param pointY
	 * @param callBack
	 * @param appInfo
	 * @param target
	 * @param isMoveOrSwap
	 */
	public void resetMoveIcon(float pointX, float pointY,
			DragLayer.OnMoveIconResetCallBack callBack, AppInfo appInfo,
			AppInfo target , boolean isMoveOrSwap);

	public int getMoveIconX();

	public int getMoveIconY();

	public int getMoveIconWidth();

	public int getMoveIconHeight();

	public void setAppInfo(AppInfo appInfo);

	public AppInfo getAppInfo();
}
